Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evil-mulitedit broken with recent iedit changes #39

Closed
CeleritasCelery opened this issue Sep 12, 2020 · 10 comments
Closed

evil-mulitedit broken with recent iedit changes #39

CeleritasCelery opened this issue Sep 12, 2020 · 10 comments
Labels

Comments

@CeleritasCelery
Copy link

A recent commit to iedit breaks evil-multiedit--substitute and evil-multiedit--paste-replace. I was able to bisect the offending commit down to victorhge/iedit@be44da7. It is a pretty large commit so I was not able to find out what actually causes the regression.

@CeleritasCelery
Copy link
Author

FYI @victorhge

@hlissner
Copy link
Owner

This is a known issue that I am working on a fix for. For the time being I've pinned iedit to 77eb0a1e2e44b453e4ebf4c38409affa353f5139 in Doom Emacs. If you aren't using Doom you'll have to do similar for now.

@hlissner hlissner added the bug label Sep 12, 2020
@ema2159
Copy link

ema2159 commented Oct 5, 2020

Is this what's causing this behavior?:

ezgif-6-b07b6f1e9648

@hlissner
Copy link
Owner

hlissner commented Oct 5, 2020

@ema2159 Yes

meqif added a commit to meqif/.emacs.d that referenced this issue Oct 31, 2020
evil-multiedit is broken since iedit@be44da7

hlissner/evil-multiedit#39
@srnnkls
Copy link

srnnkls commented Jun 9, 2021

Any news on this?

@ericdallo
Copy link

lsp-mode introduced a new feature using iedit and some functions that are not available on older iedit versions :/
It'd be really cool fix this issue to bump iedit on doom-emacs

@ericdallo
Copy link

c/c @hlissner

hlissner added a commit that referenced this issue Oct 23, 2021
BREAKING CHANGE: this package no longer defines or uses
evil-multiedit-state and evil-multiedit-insert-state. Creating our own
evil states (and for what should be a layer over the vanilla ones) adds
unnecessarily complexity and redundancy. Using a minor mode is much
simpler. Activate evil-multiedit-mode instead.

Ref: #39
@hlissner
Copy link
Owner

hlissner commented Oct 23, 2021

Sorry for the late response. As of a451370 evil-multiedit should work fine with the latest commit of iedit, so I'll consider this issue resolved. Let me know if that isn't the case and I'll reopen it.

@ericdallo Thanks for letting me know! I'll bump Doom's module soon. Also, sorry to spring this on you: 36904ce introduced a breaking change I've been sitting on for some time; lsp-evil-multiedit-highlights and lsp-evil-multiedit-linked-ranges will need to be updated:

-  (evil-multiedit-state))
+  (evil-multiedit-mode +1))

My access to a dev machine is unstable so it'll be a couple days before I can PR it myself, so feel free to snipe it if you'd like.

@ericdallo
Copy link

Great! I'll make the proper changes on lsp-mode, thank you for the huge help on this!

ericdallo added a commit to emacs-lsp/lsp-mode that referenced this issue Oct 23, 2021
@ericdallo
Copy link

Fixed on lsp-mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants